home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q100 / 6 / 25.TXT next >
Text File  |  1993-11-24  |  3KB  |  70 lines

  1. DOCUMENT:Q100625  23-NOV-1993  [W_NT]
  2. TITLE   :Filenames are Case Sensitive on NTFS Volumes
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. As part of the requirements for POSIX compliance, the Windows NT File
  16. System (NTFS) provides a case-sensitive file and directory naming
  17. convention. Even though NTFS and the POSIX subsystem each handle
  18. case-sensitivity well, 16-bit Windows-based, MS-DOS-based, OS/2-based,
  19. and Win32-based applications do not.
  20.  
  21. In NTFS, you can create unique file names, stored in the same
  22. directory, that differ only in case. For example, the following
  23. filenames can coexist in one directory on an NTFS volume:
  24.  
  25.    CASE.TXT
  26.    case.txt
  27.    case.TXT
  28.  
  29. However, if you attempt to open one of these files in a Win32
  30. application, such as Notepad, you would only have access to one of the
  31. files, regardless of the case of the filename you type in the Open
  32. File dialog box.
  33.  
  34. Other inconsistencies also exist. The Windows NT Command Prompt and
  35. File Manager correctly display the names of the files. However, normal
  36. commands, such as COPY, fail when you attempt to access one or more
  37. filenames that differ only in case.
  38.  
  39. NTFS supports two slightly different modes of operation that can be
  40. selected by the subsystem of the application interacting with NTFS.
  41. The first is fully case sensitive and demands that file names supplied
  42. by the application match the names stored on disk including case if
  43. the file on disk is to be selected. The second mode of operation is
  44. case preserving but not case sensitive. This means that applications
  45. can select files on the disk even if the supplied name differs in case
  46. from the name stored on the disk. Note that both modes preserve the
  47. case used to create the files. The difference in behavior noted here
  48. applies only when an application needs to locate an existing file.
  49. POSIX takes advantage of the full case sensitive mode, while MS-DOS,
  50. WOW, and Win32 subsystems use the case insensitive mode.
  51.  
  52. Additional reference words: 3.10 filsys
  53. KBCategory:
  54. KBSubCategory: filsys
  55.  
  56. =============================================================================
  57.  
  58. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  59. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  60. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  61. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  62. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  63. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  64. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  65. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  66. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  67. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  68. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  69.  
  70. Copyright Microsoft Corporation 1993.